package cn.itcast.dao;

import cn.itcast.pojo.Member;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface MemberDao {
    Member findByTelephone(String telephone);

    void add(Member member);

    Integer findCountBeforeMonth(String date);

    List<String> findSetmealName();

    List<Map> findSetmealNameAndCount();

    Integer findTodayNewMember(String date);

    Integer totalMember();

    Integer findAfterNewMember(String mondy);
}
